<!--{include(pe_tpl('header_dialog.html'));}-->
<div class="tixing">多个用户用“,”隔开，单次最多100个用户</div>
<form method="post" id="form">
<table width="100%" style="width:100%;margin:10px;" border="0" cellspacing="0" cellpadding="0" class="wenzhang">
<tr>
	<td class="right c888" width="70">收件用户：</td>
	<td><textarea name="user_name" style="width:500px;height:100px"></textarea></td>
	<td width="100"><a href="javascript:window.parent.select_user_open();" class="btn_green">选择用户</a></td>
</tr>
<tr>
	<td class="right c888">短信内容：</td>
	<td><textarea name="sms_text" style="width:500px;height:150px"></textarea></td>
	<td></td>
</tr>
</table>
<div class="mat10 center">
	<input type="hidden" name="pe_token" value="{$pe_token}" />
	<input type="hidden" name="pesubmit" />
	<input type="button" value="提 交" class="tjbtn" />
</div>
</form>
<script type="text/javascript" charset="utf-8">
//获取用户
function get_user() {
	if ($(":input[name='user_name']").val()) {
		return $(":input[name='user_name']").val().split(',');	
	}
	else {
		return new Array();	
	}
}
//设置用户
function set_user(id) {
	$(":input[name='user_name']").val(id);
}
$(function(){
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('reload', 1000);
		})
	})
})
</script>
<!--{include(pe_tpl('footer_dialog.html'));}-->